import axios from '@/libs/api.request'

export class EmployeeAuthApi {
  
  // 根据条件获取员工薪资账单
  static getList (params) {
    return axios.request({
      url: '/EmployeeAuth/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 认证通过
  static batchUpdate (params) {
    return axios.request({
      url: '/EmployeeAuth/BatchUpdate',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导入认证
  static import (params) {
    return axios.request({
      url: '/EmployeeAuth/Import',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出
  static export (params) {
    return axios.request({
      url: '/EmployeeAuth/Export',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出员工认证模板
  static exportAuth (params) {
    return axios.request({
      url: '/EmployeeAuth/ExportAuth',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
}
